<table>
  <tbody>
    <?php foreach ($carti as $carte): ?>
    <tr>
      <td><img src="<?php echo $carte->getPoza() ?>"></td>
      <td><?php echo $carte->getTitlu(); + 'de la editura' +  $carte->getEditura(); ?>
      	  <?php if($carte->getEditie()>1) echo $carte->getEditie(); ?></td>
      <td><?php echo $carte->getPret() ?></td>
      <td><?php echo $carte->getVolum() ?></td>
      <td><?php if($carte->getStoc()>0) echo "In stoc"; else echo "Stoc epuizat" ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>
